using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace Cuahsi.Data.Interop.WaterML2.swe_20
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.233")]
    [Serializable()]
    [DebuggerStepThrough()]
    [DesignerCategory("code")]
    [XmlType(Namespace = "http://www.opengis.net/swe/2.0")]
    [XmlRoot("AllowedTimes", Namespace = "http://www.opengis.net/swe/2.0", IsNullable = false)]
    [DataContract(Name = "AllowedTimesType", Namespace = "http://www.opengis.net/swe/2.0")]
    public partial class AllowedTimesType : AbstractSWEType
    {

        private List<string> valueField;

        private List<string> intervalField;

        private string significantFiguresField;

        public AllowedTimesType()
        {
            this.intervalField = new List<string>();
            this.valueField = new List<string>();
        }

        [XmlElement("value")]
        [DataMember()]
        public List<string> value
        {
            get
            {
                return this.valueField;
            }
        }

        [XmlElement("interval")]
        [DataMember()]
        public List<string> interval
        {
            get
            {
                return this.intervalField;
            }
        }

        [XmlElement(DataType = "integer")]
        [DataMember()]
        public string significantFigures
        {
            get
            {
                return this.significantFiguresField;
            }
            set
            {
                this.significantFiguresField = value;
            }
        }
    }
}